package com.ys.service.base;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

public interface TbUserPayApplyService {
    //员工工资申请单新增
    R add(Map<String, Object> params,String subData) throws Exception ;
    //员工工资申请单修改
    R edit(Map<String, Object> params,String subData) throws Exception ;

    R delete(Long id);

    R flowPass(Long id, String loginUserId) throws Exception;

    R flowRefuse(Long id, String reason, String loginUserId) throws Exception;

    R flowInit(Long id, String reason, String loginUserId) throws Exception;

    //手动重新刷新主表的合计信息
    void updateTotalCount() throws Exception;

    //获取列表数据
    Map<String,Object> getExtraParam( String bid) throws Exception;

    //获取子列表数据
    List<Map<String, Object>> getItemList(String bid) throws Exception;



}
